import request from "@/utils/request";
// 获取商品列表
export function getProductListService(data) {
  return request.get("/admin/goods/list", { params: data });
}
// 添加商品
export function addProductService(data) {
  return request.post("/admin/goods/add", data);
}
// 修改商品
export function updateProductService(data) {
  return request.post("/admin/goods/save", data);
}
// 删除商品
export function deleteProductService(data) {
  return request.post("/admin/goods/del", data);
}
